window.onload = function(){
    let showArr = document.getElementsByClassName('i ic:arrow-right-rounded');
    let detailetArr = document.getElementsByClassName('group-detail');

    for(let i=0 ; i<showArr.length;i++){
        detailetArr[i].style.display = 'none';
    }

    for(let i=0 ; i<showArr.length;i++){
        showArr[i].onclick = function(){
            if(detailetArr[i].style.display == 'none'){
                detailetArr[i].style.display = 'block';
            }
            else{
                detailetArr[i].style.display = 'none';
            }
        }
    }
} 